#include "Chain.hh"

Chain::Chain() : ChainCore(Lock::generate(MutexType))
{
	if (LockOfIO == NULL)
		notifyError(LockOfIO, "Fail Chain::Chain.");
}

Chain::~Chain()
{
	if (LockOfIO != NULL)
		delete LockOfIO;
}
